<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
    <title>深入掌握CSS组件</title>
    <!--    Bootstrap核心css文件-->
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/css/bootstrap.min.css">
</head>
<body class="container">
<h3 class="mb-4">链接徽章</h3>
<a href="#" class="badge badge-pill badge-primary">主要</a>
<a href="#" class="badge badge-pill badge-secondary">次要</a>
<a href="#" class="badge badge-pill badge-success">成功</a>
<a href="#" class="badge badge-pill badge-danger">危险</a>
<a href="#" class="badge badge-pill badge-warning">警告</a>
<a href="#" class="badge badge-pill badge-info">信息</a>
<a href="#" class="badge badge-pill badge-light">明亮</a>
<a href="#" class="badge badge-pill badge-dark">深色</a>

<!--引入js文件-->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
<!--Bootstrap核心JavaScript文件-->
<script src="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
</body>
</html>